core: Remove last user of g_file_new()
authorColin Walters <walters@verbum.org>
Fri, 18 Nov 2011 13:02:19 +0000 (08:02 -0500)
committerColin Walters <walters@verbum.org>
Fri, 18 Nov 2011 13:02:19 +0000 (08:02 -0500)
src/libotutil/ot-gio-utils.c

index adac61f632cecbb205a604bab160e73f4bf8be79..a140d7189fb11c360116823f7fa38c4c6316bc9a 100644 (file)
@@ -36,7 +36,7 @@ ot_util_ensure_directory (const char *path, gboolean with_parents, GError **erro
   GError *temp_error = NULL;
   gboolean ret = FALSE;
 
-  dir = g_file_new_for_path (path);
+  dir = ot_util_new_file_for_path (path);
   if (with_parents)
     ret = g_file_make_directory_with_parents (dir, NULL, &temp_error);
   else